package com.flyco.modules.pms.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import com.flyco.poi.excel.annotation.Excel;

/**
 * @Description: 商品价格管控
 * @Author: flyco
 * @Date:   2020-02-26
 * @Version: V1.0
 */
@Data
@TableName("pms_product_price_regulate")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="pms_product_price_regulate对象", description="商品价格管控")
public class PmsProductPriceRegulate {
    
	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
	private Long id;
	/**货号*/
	@Excel(name = "货号", width = 15)
    @ApiModelProperty(value = "货号")
	private String productSn;
	/**SKU编码*/
	@Excel(name = "SKU编码", width = 15)
	@ApiModelProperty(value = "SKU编码")
	private String skuCode;
	/**物料编号*/
	@Excel(name = "物料编号", width = 15)
	@ApiModelProperty(value = "物料编号")
	private String sapItemCode;
	/**指导价格*/
	@Excel(name = "指导价格", width = 15)
    @ApiModelProperty(value = "指导价格")
	private java.math.BigDecimal normalPrice;
	/**管控价格*/
	@Excel(name = "管控价格", width = 15)
    @ApiModelProperty(value = "管控价格")
	private java.math.BigDecimal minPrice;
	/**同步日期*/
	@Excel(name = "同步日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "同步日期")
	private Date syncTime;
}
